package com.dev.springBootDemo.proxy;

/**
 * @author zhumq
 * @date 2024/7/2 20:51
 */
public class SuperStar implements Star{
    private String name;

    public SuperStar(String name) {
        this.name = name;
    }

    public String sing(String singName) {
        System.out.println(this.name + "正在唱：" + singName);
        return "唱完了！谢谢大家！";
    }

    public void dance() {
        System.out.println(this.name + "正在跳舞中~~~" );
    }

}
